package fuxi02_finally.test_interface.zhenfangxing;

public abstract class squares_zhouchangImpl implements zhengFangXing_squares_zhouchang {
    @Override
    public int squals(int length,int hight) {
        return length*hight;
    }

    @Override
    public int zhouchang(int length,int hight) {
        return 2*(length+hight);
    }

    public static void main(String[] args) {
        int length=10;
        int hight=5;

//        实例化
        squares_zhouchangImpl_concreteSqualsZhouchang concreteSqualsZhouchang = new squares_zhouchangImpl_concreteSqualsZhouchang();
//        调用
        System.out.println(concreteSqualsZhouchang.squals(88,66));
    }
}
